package com.gjh.service.stat.impl;

import com.alibaba.dubbo.config.annotation.Service;
import com.gjh.dao.stat.StatDao;
import com.gjh.service.stat.StatService;
import org.springframework.beans.factory.annotation.Autowired;

import java.util.List;
import java.util.Map;

@Service
public class StatServiceImpl implements StatService{
    @Autowired
    private StatDao statDao;

    @Override
    public List<Map> factoryCharts(String companyId) {
        List<Map> maps = statDao.factoryCharts(companyId);
        return maps;
    }

    @Override
    public List<Map> sellCharts(String companyId) {
        List<Map> maps = statDao.sellCharts(companyId);
        return maps;
    }

    @Override
    public List<Map> onlineCharts(String companyId) {
        List<Map> maps = statDao.onlineCharts(companyId);
        return maps;
    }
}
